package com.youhome.service.impl;


import com.youhome.mapper.TruliaDataMapper;
import com.youhome.model.TruliaDataWithBLOBs;
import com.youhome.service.TruliaDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by chen365 on 2017/9/11.
 */
@Service
public class TruliaDataServiceImpl implements TruliaDataService {
    @Autowired
    private TruliaDataMapper truliaDataMapper;

    @Override
    public TruliaDataWithBLOBs selectByZipcode(String zipcode) throws Exception {
        return truliaDataMapper.selectByZipcode(zipcode);
    }
}
